$width:1190px;
$bdColor:#e3e4e5;
$moudleColor:#fff;
$red:#E72E22;

@mixin ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@mixin ahover {
    &:hover {
        color: red;
        cursor: pointer;
        text-decoration: none;
    }

}

@mixin lc {
    background-color: rgb(183, 206, 183);
}


body {
    background-color: $bdColor;
}


.title {
    width: $width;
    background-color: $bdColor;
    height: 30px;
    margin: 0 auto;

    >div {
        float: left;
        color: #978e8e;
        font-size: 14px;
        height: 30px;
        line-height: 30px;
    }

    >:nth-child(1) {
        width: 60px;
        font-size: 12px;
    }

    >:nth-child(2) {
        width: 550px;
        text-align: right;
        margin-right: 12px;

        >p {
            display: inline-block;
            font-size: 12px;

            &:hover {
                color: red;
            }

            cursor: pointer;
        }

        >:nth-child(2) {
            color: #E72E22;
        }
    }

    >:nth-child(3) {
        ul {
            >li {
                float: left;
                margin: 0 5px;
                font-size: 12px;


            }

            :nth-child(2n+2) {
                padding: 0 3px;

                >a {
                    @include ahover;
                }
            }


        }


    }


}




section {
    position: relative;

    >:nth-child(1) {
        padding: 5px;
        position: absolute;
        left: 180px;
        top: 20px;
        font-size: 16px;
        background-color: #E72E22;
        color: white;
        cursor: pointer;
    }

    >:nth-child(2) {
        padding: 5px;
        position: absolute;
        right: 180px;
        top: 20px;
        font-size: 16px;
        background-color: #E72E22;
        color: white;
        cursor: pointer;
    }

    >.depro {
        padding: 70px 0 0 150px;
        background-color: #f5f3f3;
        width: 1210px;
        height: 500px;
        margin: 10px auto 0;

        >.detu {
            float: left;
            width: 300px;
            height: 300px;
            border: 1px gray solid;
            position: relative;

            >.smallpic {
                >img {
                    width: 300px;
                    height: 300px;

                }

                >.zoom {
                    width: 150px;
                    height: 150px;
                    opacity: 0.5;
                    background-color: rgb(201, 152, 152);
                    position: absolute;
                    top: 0px;
                    left: 0px;
                }
            }

            >.bigpic {
                display: none;
                width: 450px;
                height: 450px;
                position: relative;
                left: 303px;
                top: -300px;
                background-color: white;
                // background-color: blue;
                
                overflow: hidden;
                z-index: 1;

                >img {
                    width: 900px;
                    height: 900px;
                    position: absolute;
                    
                    
                }
            }

        }

        >.demas {
            float: left;
            width: 600px;
            height: 500px;
            // border: 1px gray solid;

            >.title {
                padding-left: 10px;
                width: 590px;
                height: 50px;
                border: 1px gray solid;

                >h1 {
                    width: 300px;
                    font-size: 18px;
                    line-height: 50px;
                }
            }

            >.demas-main {
                padding: 10px;
                height: 120px;
                border: 1px gray solid;

                >div {

                    >h3 {

                        font-size: 16px;
                        line-height: 30px;

                    }
                }
            }

            >.demas-num {
                height: 100px;
                border: 1px gray solid;

                >div {
                    position: relative;
                    left: 182px;
                    top: 32px;
                    width: 100px;
                    height: 40px;
                    // border: 1px gray solid;

                    >:nth-child(1) {
                        width: 60px;
                        height: 40px;

                        >input {
                            width: 60px;
                            height: 40px;
                            line-height: 40px;
                            font-size: 18px;
                        }
                    }

                    >button {
                        width: 20px;
                        height: 20px;
                        font-size: 20px;
                        line-height: 1;
                        // border: solid 1px slategrey;
                        display: inline-block;
                        position: absolute;
                        cursor: pointer;

                        &:hover {
                            background-color: tomato;
                            color: white;
                        }
                    }

                    >:nth-child(2) {


                        left: 81px;
                        top: -1px;

                    }

                    >:nth-child(3) {
                        left: 81px;
                        top: 21px;

                    }

                    >:nth-child(4) {
                        height: 20px;
                        position: relative;
                        left: 102px;
                        top: -40px;
                        padding: 10px;
                        color: white;
                        background-color: red;
                        cursor: pointer;

                    }
                }
            }
        }

    }

    ;


}